<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class=""><a href="{:url('supplier/getSupplier')}">供应商</a></li>
        <li class="active"><a>新增供应商</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('supplier/doadd')}"
          enctype="multipart/form-data">


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                公司全称
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="fullName">
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                <span class="form-required">*</span>公司简称
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="attrName">
            </div>
        </div>

        <div class="form-group">

            <label for="js-smtpsecure" class="col-sm-2 control-label">
                姓名
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="name">
            </div>
        </div>
        <div class="form-group">

            <label for="js-smtpsecure" class="col-sm-2 control-label">
                地址
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="address">
            </div>
        </div>

        <div class="form-group">

            <label for="js-smtpsecure" class="col-sm-2 control-label">
                联系方式
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="number" class="form-control" name="mobile">
            </div>
        </div>



        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                另外联系人
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="text" class="form-control" name="otherName">
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                另外手机号
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="number" class="form-control" name="otherMobile">
            </div>
        </div>


        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                银行卡号
            </label>
            <div class="col-md-6 col-sm-10">
                    <input type="number" class="form-control" name="bankNum">
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                税号
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="number" class="form-control" name="dutyNum">
            </div>
        </div>

        <div class="form-group">
            <label for="js-smtpsecure" class="col-sm-2 control-label">
                营业执照上传
            </label>
            <div class="col-md-6 col-sm-10">
                <input type="file" name="img[]" class="form-control" multiple>
            </div>
        </div>


        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
                <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>